import * as types from './ActionTypes.js';
import { createAction } from 'redux-actions';
import {fetchRequest} from '../util/fetch';

//根据ID获取我的收藏的列表
export const ShowPostionCollect = createAction(types.SEL_POSTION_COLLECT, (data) => {        
    return fetchRequest('PostionCollect/selCollectByMemberId.go', 'POST',data);
});

//根据id获取谁看了我的简历列表
export const SelWhoSawMeMoble = createAction(types.SEL_WHOSAWME_MOBLE, (data) => {        
    return fetchRequest('ResumeBrowse/selWhoSawMeMoble.go', 'POST',data);
});

//根据id获取我关注的企业
export const SelFollowMob = createAction(types.SEL_FOLLOW_MOBLE, (data) => {        
    return fetchRequest('Follow/selFollowMob.go', 'POST',data);
});